package com.gmss.crawler.module.retraction.company.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 撤稿论文-单位表
 * </p>
 *
 * @author Auto-generator
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("r_company")
public class RCompany extends Model<RCompany> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 单位名称
     */
    private String companyName;
    /**
     * 创建时间
     */
    private Date createTime;
    private String createUser;
    /**
     * 修改时间
     */
    private Date updateTime;
    private String updateUser;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
